package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
//签到
@Setter
@Getter
@JsonIgnoreProperties("handler")
public class Sign extends BaseDomain {

    private User user; //用户信息


    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date lastDate;//最后签到时间

    private Integer days;//签到天数

    private Integer continuousDays;//连续签到天数

    private Integer integral = 0;//积分

    private SignState signState;//签到领取状态
}